package org.supper.user;

import com.alicp.jetcache.anno.config.EnableCreateCacheAnnotation;
import com.alicp.jetcache.anno.config.EnableMethodCache;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.cloud.openfeign.support.SpringEncoder;

import java.beans.Encoder;


@EnableDiscoveryClient
@SpringBootApplication(scanBasePackages = "org.supper")
//@EnableMethodCache(basePackages = "org.common")//项目主路径
@EnableCreateCacheAnnotation
@EnableFeignClients(basePackages = "org.supper.user.feign")
public class UserApplication {

    public static void main(String[] args) {
        SpringApplication.run(UserApplication.class, args);
    }

}
